package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

@TableName(value = "pdt_goods")
@Data
@Accessors(chain = true)
public class Goods {

    @Id
    private String id;

    private String name;

    private Integer stock;

    private BigDecimal price;

    private String title;


}
